process.on('message', (m, server) => {
  console.log(server)
  if (m === 'server' ) {
    server.on('connection', (socket) => {
      socket.end('handled by child')
    })
   }
})